package com.medical.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.system.common.Result;
import com.medical.system.model.Doctor;
import com.medical.system.vo.SysDoctorVo;

public interface DoctorService extends IService<Doctor> {

    Result selectPage(IPage<Doctor> doctorIPage, SysDoctorVo sysDoctorVo);

    Result insertDoctor(Doctor doctor);

    Result deleteDoctor(Integer doctorId);

    Result updateDoctor(Doctor doctor);

    Result selectDoctorById(Integer doctorId);

    Result upStatusDoctor(Integer id, Integer status);
}
